/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.KDniao.service.logistics;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.KDniao.dao.LogisticsCodeDao;
import com.thinkgem.jeesite.modules.KDniao.entity.LogisticsCode;

/**
 * 物流公司信息Service
 * @author Owen
 * @version 2017-04-05
 */
@Service
@Transactional(readOnly = true)
public class LogisticsCodeService extends CrudService<LogisticsCodeDao, LogisticsCode> {
    @Autowired
    private LogisticsCodeDao logisticsCodeDao;
	public LogisticsCode get(String id) {
		return super.get(id);
	}
	
	public List<LogisticsCode> findList(LogisticsCode logisticsCode) {
		return super.findList(logisticsCode);
	}
	
	public Page<LogisticsCode> findPage(Page<LogisticsCode> page, LogisticsCode logisticsCode) {
		return super.findPage(page, logisticsCode);
	}
	
	@Transactional(readOnly = false)
	public void save(LogisticsCode logisticsCode) {
		super.save(logisticsCode);
	}
	
	@Transactional(readOnly = false)
	public void delete(LogisticsCode logisticsCode) {
		super.delete(logisticsCode);
	}
	
    public List<LogisticsCode> findisenadleList() {
        return logisticsCodeDao.findisenadleList();
    }

}